package com.hp.service;

import com.github.pagehelper.PageInfo;
import com.hp.bean.Orders;
import com.hp.bean.OrdersExample;

import java.util.List;

public interface OrdersService {

    //查询单个数据
    Orders findByid(Integer id);


    int upp(Orders obj);

    int del(Integer id);

    PageInfo<Orders> pageFind(OrdersExample example, Integer page, Integer limit);

    List<Orders> selectOrdersList(Orders orders);

    int orderEnd(Orders obj);

    int sendMaster(Orders obj, Integer type);

    Orders selectOrdersByPhone(String phone);

    int insertOrders(Orders obj);
}
